package extract.document;

import extract.document.program.ProgramIncreMode;
import extract.document.scene.SceneIncreMode;
import extract.document.sequence.SequenceIncreMode;
import extract.document.shot.ShotIncreMode;
import extract.document.video.VideoIncreMode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by Common on 11/27/16.
 */
public class DocIncreRun {

    static final Logger logger = LoggerFactory.getLogger(DocIncreRun.class);



    public static void video_thread(){
        logger.info("[video_thread] ready to start video_thread!");
        (new Thread(new VideoIncreMode.VideoThread())).start();
    }


    public static void program_thread(){
        logger.info("[program_thread] ready to start program_thread!");
        (new Thread(new ProgramIncreMode.ProgramThread())).start();
    }


    public static void sequence_thread(){
        logger.info("[sequence_thread] ready to start sequence_thread!");
        (new Thread(new SequenceIncreMode.SequenceThread())).start();
    }



    public static void scene_thread(){
        logger.info("[scene_thread] ready to start scene_thread!");
        (new Thread(new SceneIncreMode.SceneThread())).start();
    }

    public static void shot_thread(){
        logger.info("[shot_thread] ready to start shot_thread!");
        (new Thread(new ShotIncreMode.ShotThread())).start();

    }


    /********************
     *
     * @param args
     */
    public static void main(String[] args){
        //1) video
        video_thread();

        //2) program
        program_thread();


        //3) sequence
        sequence_thread();

        //4) scene
        scene_thread();

        //5) shot
        shot_thread();

    }


}
